using System;
using System.Collections.Generic;
using System.Text;

namespace Eve.Data
{
    public class MetaType : EveAssociation<Type, Type, MetaGroup>
    {
        public Type Type
        {
            get { return From; }
        }
        public Type Parent
        {
            get { return To; }
        }
        public MetaGroup Group
        {
            get { return Index; }
        }

        internal MetaType(DbDataRow dr)
            : base(dr.Database, new Type(dr.Database, dr["typeID"]), new Type(dr.Database, dr["parentTypeID"]), new MetaGroup(dr.Database, dr["metaGroupID"]))
        {
            Fill(dr);
        }

        internal void Fill(DbDataRow dr)
        {
        }
    }
}
